﻿using Abp.Runtime.Validation;
using Camc.Quality.Dto;

namespace Camc.Quality.Bop.Dto
{
   public class GetBopDescListInput:PagedAndSortedInputDto,IShouldNormalize
    {

        public string Filter { get; set; }
        /// <summary>
        /// 图号
        /// </summary>
        public string DrawingNO { get; set; }
        /// <summary>
        /// 型号
        /// </summary>
        public string Model { get; set; }
        /// <summary>
        /// 发次
        /// </summary>
        public string LotNo { get; set; }
        public void Normalize()
        {
            if (string.IsNullOrEmpty(Sorting))
            {
                Sorting = "CreationTime Desc";
            }
        }
    }
}
